onViewPositionChanged
open fun onViewPositionChanged(@NonNull changedView: @NonNull View, left: Int, top: Int, @Px dx: Int, @Px dy: Int)(source)
Called when the captured view's position changes as the result of a drag or settle.
Parameters
changedView
View whose position changed
left
New X coordinate of the left edge of the view
top
New Y coordinate of the top edge of the view
dx
Change in X position from the last call
dy
Change in Y position from the last call